﻿<UserControl x:Class="MEFedMVVMDemo.Views.SelectedUser"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:g="http://schemas.galador.net/xaml/libraries"
			 xmlns:models="clr-namespace:MEFedMVVMDemo.ViewModels"
			 g:Composition.DesignerDataContext="models:SelectedUserViewModel"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Border HorizontalAlignment="Center" VerticalAlignment="Center" BorderBrush="#FFB4A8A8" BorderThickness="1" CornerRadius="5" Padding="5">
		<StackPanel>
			<TextBlock Text="{Binding SelectedUser.Name, StringFormat=Name: \{0\}}" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="26.667" FontFamily="Verdana" Margin="0,10,0,0"/>
            <TextBlock Text="{Binding SelectedUser.Surname, StringFormat=Surname: \{0\}}" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="26.667" FontFamily="Verdana" Margin="0,10,0,0" />
            <TextBlock Text="{Binding SelectedUser.Age, StringFormat=Age: \{0\}}" HorizontalAlignment="Center" TextWrapping="Wrap" FontSize="26.667" FontFamily="Verdana" Margin="0,10,0,0" />
		</StackPanel>
	</Border>
</UserControl>
